//提交活动
function submit(str, activityId) {

  if (str == "page_2") {
    window.location.href = "activityconfig.html?activityId=" + activityId;
  } else if (str == "page_3") {
    window.location.href = "awardmanage.html?activityId=" + activityId;
  } else if (str == "page_4") {
    window.location.href = "customgroupchoose.html?activityId=" + activityId;
  } else if (str == "page_5") {
    window.location.href = "msgtemplate.html?activityId=" + activityId;
  }
}

function prev(str, activityId) {
  if (str == "page_1") {
    window.location.href = "activitykind.html?activityId=" + activityId;
  } else if (str == "page_2") {
    window.location.href = "activityconfig.html?activityId=" + activityId;
  } else if (str == "page_3") {
    window.location.href = "awardmanage.html?activityId=" + activityId;
  } else if (str == "page_4") {
    window.location.href = "customgroupchoose.html?activityId=" + activityId;
  }
}
